package org.zfes.snowier.cloud.zbss.layer.tc.biz.service;

import java.util.Map;
import java.util.Optional;

import org.zfes.snowier.core.data.DataSet;
import org.apache.ibatis.annotations.Param;
import org.zfes.snowier.cloud.zbss.layer.tc.biz.model.LAuthUser;
public interface ILAuthUserService{

	 Optional<LAuthUser> loadAuthUserById(Long id);
	
	 Long createAuthUser(LAuthUser authUser);
	
	 void updateAuthUser(LAuthUser authUser);

	 void deletAuthUser(Long id);
	
	 DataSet loadAuthUserDataSet(Map<String, Object> params);

	void setPwd(Long id, String password);
	 
	LAuthUser selectByAccount(String account);
	
	void updateUserName(Long id,String userName);
	
	int updateEnabled(Long id, int enabled);
	
}